﻿namespace TestMemory
{
    class Program
    {
        public static void Main(string[] args)
        {
            var users = new List<User>();
            for (int i = 0; i < 1000; i++)
            {
                Thread.Sleep(1000);
                var user = new User()
                {
                    Id = i,
                    Name="李"+i,
                    Password="1234"
                };
                users.Add(user);
                Console.WriteLine(user.Name);
            }
        }
    }
    class User
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Password { get; set; }
    }
}
